<?php
$this->breadcrumbs=array(
	'Check',
);?>
<h1><?php echo $this->id . '/' . $this->action->id; ?></h1>

<p>
	You may change the content of this page by modifying
	the file <tt><?php echo __FILE__; ?></tt>.
</p>
<h3>Filter Hasil Pencarian</h3>
<?php $jeniss = array('b'=>'Bus','k'=>'Kereta','t'=>'Travel');
	$waktus = array('pagi'=>'Pagi (00.00 - 10.00)','siang'=>'Siang (10.00 - 15.00)','sore'=>'Sore (15.00 - 18.00)', 'malam'=>'Malam (18.00 - 00.00)');
	$hargas = array('h1'=>'Rp 0 - Rp 250.000','h2'=>'Rp 250.000 - Rp 500.000','h3'=>'Rp 500.000 - Rp 750.000', 'h4'=>'&gt; Rp 750.000');
	
	$jenisPilih = array('b'=>'Bus','k'=>'Kereta','t'=>'Travel');
	$waktuPilih = array('pagi'=>'Pagi (00.00 - 10.00)','siang'=>'Siang (10.00 - 15.00)','sore'=>'Sore (15.00 - 18.00)', 'malam'=>'Malam (18.00 - 00.00)');
	$hargaPilih = array('h1'=>'Rp 0 - Rp 250.000','h2'=>'Rp 250.000 - Rp 500.000','h3'=>'Rp 500.000 - Rp 750.000', 'h4'=>'&gt; Rp 750.000');
?>
<?php echo CHtml::beginForm(Yii::app()->request->baseUrl . "/index.php/check/index" )?>    
<h4>Jenis Transportasi</h4>
<div class="row">
    <?php echo CHtml::checkBoxList('myCheckBoxList[jenis]', $jenisPilih, $jeniss); ?> 
</div><br />
<h4>Waktu</h4>
<div class="row">
    <?php echo CHtml::checkBoxList('myCheckBoxList[waktu]', $waktuPilih, $waktus); ?> 
</div><br />
<h4>Harga</h4>
<div class="row">
    <?php echo CHtml::checkBoxList('myCheckBoxList[harga]', $hargaPilih, $hargas); ?> 
</div><br />
<div class="action">
    <?php echo CHtml::submitButton("Filter"); ?>
</div>
<?php echo CHtml::endForm(); ?>
<?php //echo "Item: "; foreach($select as $s) {echo $s . ", ";}?>
<?php //echo "Jenis: "; foreach($select2 as $s2) {echo $s2 . ", ";}?>
